package com.ny.demo0427;


public class Keyboard implements USB {
    @Override
    public void open() {
        System.out.println("键盘已连接");
    }

    @Override
    public void close() {
        System.out.println("键盘已断开");
    }

    // 键盘特有方法
    public void type() {
        System.out.println("键盘输入事件触发");
    }
}